WP_SMS\Components\NumberParser S

Total Complexity 44
Dependencies 3
Dependents 5
Total lines 277
Lines of code 131
Logical lines of code 77
Comment lines 87
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
isLengthValid()
A
60 9 12
getValidNumber()
A
52 8 24
addSelectedCountryCode()
S
55 6 20
getAllowedDialCodes()
S
60 4 14
isDuplicateInSubscribers()
S
60 4 12
getNormalizedNumber()
S
62 3 12
isDuplicateInUsermeta()
S
60 3 12
isCountryCodeValid()
S
65 3 9
isNumberFormatValid()
S
74 2 4
__construct()
S
76 1 4
toEnglishNumerals()
S
63 1 8